const Mock = require('mockjs')


module.exports = Mock.mock({
  "banners|4-10": [{
    "image": "@image(375x200, @color, banner)",
    "id": "@id"
  }],
  "menus|10": [{
    "id": "@id",
    "image": "@image(50x50, @color, menu)",
    "title": "@ctitle(2)"
  }],
  "lists|100": [{
    "id": "@id",
    "title": "@ctitle",
    "images|4-10": ["@image(150x120, @color, item)"],
    "price|10-1000": 1,
    "sellCount|10-1000000": 1,
    "desc": "@cword(10, 30)",
  }],
  "tabs|20": [{
    "title": "@ctitle(2)",
    "id": "@id",
    "children|20-50": [{
      "id": "@id",
      "title": "@ctitle",
      "images|4-10": ["@image(150x120, @color, item)"],
      "price|10-1000": 1,
      "sellCount|10-1000000": 1,
      "desc": "@cword(10, 30)",
    }]
  }]
})